package com.makingTeam.server.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.makingTeam.server.pojo.TSysChannel;
import com.makingTeam.server.mapper.TSysChannelMapper;
import com.makingTeam.server.service.TSysChannelService;
@Service
public class TSysChannelServiceImpl implements TSysChannelService{

    @Resource
    private TSysChannelMapper tSysChannelMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return tSysChannelMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TSysChannel record) {
        return tSysChannelMapper.insert(record);
    }

    @Override
    public int insertSelective(TSysChannel record) {
        return tSysChannelMapper.insertSelective(record);
    }

    @Override
    public TSysChannel selectByPrimaryKey(Long id) {
        return tSysChannelMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TSysChannel record) {
        return tSysChannelMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TSysChannel record) {
        return tSysChannelMapper.updateByPrimaryKey(record);
    }

}
